import request from '@/utils/request'
// -------- 咨询设置 --------

let BASE_ADDRESS = 'base/rangeConfig'

//  分页查询
export function getlabelRangeConfigApi(params) {
    return request({
        url: `${BASE_ADDRESS}/listLabel`,
        method: "get",
        params
    })
}
//  分页查询
export function getlabelRangeEditApi(data) {
    return request({
        url: `${BASE_ADDRESS}/editLabel`,
        method: "PUT",
        data
    })
}
//  合同设置分页查询
export function getRangeConfigListConsultApi(params) {
    return request({
        url: `${BASE_ADDRESS}/listConsult`,
        method: "get",
        params
    })
}

//    合同设置编辑
export function getRangeConfigEditConsultApi(data) {
    return request({
        url: `${BASE_ADDRESS}/editConsult`,
        method: "put",
        data
    })
}
